package com.dubbo.lian.cms.modules.app;
 import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
 import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
 /**
 * <p>
 * 
 * </p>
 *
 * @author lian
 * @since 2016-12-26
 */
public class User extends Model<User> {
     private static final long serialVersionUID = 1L;
 	/**
	 * 用户ID
	 */
	@TableId
	private String userid;
	/**
	 * 用户名
	 */
	private String nickname;
	/**
	 * 性别
	 */
	private String sex;
	/**
	 * 身高
	 */
	private BigDecimal height;
	/**
	 * 生日
	 */
	private Date birthday;
	/**
	 * 手机号码
	 */
	private String phonenumber;
	/**
	 * 密码（MD5）
	 */
	private String password;
	/**
	 * 注册时间
	 */
	private Date registertime;
	/**
	 * 登录时间
	 */
	private Date logintime;
	/**
	 * 退出登录时间
	 */
	private Date logouttime;
	/**
	 * 更新时间
	 */
	private Date updatetime;
	/**
	 * 
	 */
	private String headicon;
	/**
	 * 用户类型 	普通：1，老人：2，小孩：3，孕妇：4
	 */
	@TableField(value="user_type")
	private Integer userType;
 	public String getUserid() {
		return userid;
	}
 	public void setUserid(String userid) {
		this.userid = userid;
	}
 	public String getNickname() {
		return nickname;
	}
 	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
 	public String getSex() {
		return sex;
	}
 	public void setSex(String sex) {
		this.sex = sex;
	}
 	public BigDecimal getHeight() {
		return height;
	}
 	public void setHeight(BigDecimal height) {
		this.height = height;
	}
 	public Date getBirthday() {
		return birthday;
	}
 	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
 	public String getPhonenumber() {
		return phonenumber;
	}
 	public void setPhonenumber(String phonenumber) {
		this.phonenumber = phonenumber;
	}
 	public String getPassword() {
		return password;
	}
 	public void setPassword(String password) {
		this.password = password;
	}
 	public Date getRegistertime() {
		return registertime;
	}
 	public void setRegistertime(Date registertime) {
		this.registertime = registertime;
	}
 	public Date getLogintime() {
		return logintime;
	}
 	public void setLogintime(Date logintime) {
		this.logintime = logintime;
	}
 	public Date getLogouttime() {
		return logouttime;
	}
 	public void setLogouttime(Date logouttime) {
		this.logouttime = logouttime;
	}
 	public Date getUpdatetime() {
		return updatetime;
	}
 	public void setUpdatetime(Date updatetime) {
		this.updatetime = updatetime;
	}
 	public String getHeadicon() {
		return headicon;
	}
 	public void setHeadicon(String headicon) {
		this.headicon = headicon;
	}
 	public Integer getUserType() {
		return userType;
	}
 	public void setUserType(Integer userType) {
		this.userType = userType;
	}
 	@Override
	protected Serializable pkVal() {
		return this.userid;
	}
 }
